package com.duck.communication.dao;

import com.duck.communication.domain.po.ProductPojo;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface MarketDao {
    List<String> getMarketIndex();

    List<ProductPojo> getMarketProductByIdx(Integer idxId);

    List<ProductPojo> getMarketProductByDateRange(@Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate);
}
